package com.enhinck.dbutilweb.common.entity;


import com.enhinck.dbutilweb.common.annotation.ETable;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 字段信息表
 */
@Data
@ApiModel("数据源表")
@ETable("information_schema.tables")
public class InformationSchemaTables {
    @ApiModelProperty(value = "所在库")
    private String tableSchema;
    @ApiModelProperty(value = "表名")
    private String tableName;
    @ApiModelProperty(value = "表注释")
    private String tableComment;
    @ApiModelProperty(value = "表类型")
    private String tableType;
    @ApiModelProperty(value = "表字符集")
    private String tableCollation;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
